<template>
  <div ref="app" id="app">
    <router-view :key="key" />
  </div>
</template>

<script>
export default {
  computed: {
    key() {
      return this.$route.name
        ? this.$route.name + new Date()
        : this.$route + +new Date();
    }
  }
};
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
